package test3.bean;

public class EmployeeForQuery extends Employee {

    private Integer minAge;

    private Integer maxAge;

    public EmployeeForQuery(){

    }

    public EmployeeForQuery(Integer id, String name, Integer sex, Integer age,
                            Integer minAge, Integer maxAge) {
        super(id, name, sex, age);
        this.minAge = minAge;
        this.maxAge = maxAge;
    }

    public Integer getMinAge() {
        return minAge;
    }

    public void setMinAge(Integer minAge) {
        this.minAge = minAge;
    }

    public Integer getMaxAge() {
        return maxAge;
    }

    public void setMaxAge(Integer maxAge) {
        this.maxAge = maxAge;
    }

}
